import request from '@/utils/request';
// 获取热点词list
export async function queryHotWordLists() {
  return request('/api/hot_lists');
}
// 新建热点词汇
export async function createHotWord (payload) {
    return request('/api/hot_lists',{
    method: 'POST',
    data: payload,
  })
}

// 编辑热点词汇
export async function updateHotWord (payload) {
    return request('/api/hot_lists',{
    method: 'PUT',
    data: payload,
  })
}
// 删除热点词汇
export async function deleteHotWord (payload) {
    return request('/api/hot_lists',{
    method: 'DELETE',
    data: payload,
  })
}



